package com.briup.service;

import com.briup.DTO.SaveOrUpdateAnimalDTO;
import com.briup.VO.AnimalFindByIdVO;
import com.briup.exception.SystemException;
import com.briup.pojo.Animal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.result.PageTemplate;
import com.briup.result.Result;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【manager_animal】的数据库操作Service
* @createDate 2024-03-13 14:29:39
*/
public interface AnimalService extends IService<Animal> {

    PageTemplate animalQuery(Integer pageNum, Integer pageSize, String aHealthy, String aGender) throws SystemException;

    void generateQRCodeByAnimal(String animalId) throws SystemException;

    AnimalFindByIdVO findByAnimalId(String animalId) throws SystemException;

    Result animalSaveOrUpdate(SaveOrUpdateAnimalDTO saveOrUpdateAnimalDTO) throws SystemException;

    Result deleteById(String id) throws SystemException;

    Result deleteByIdAll(List<String> ids) throws SystemException;
}
